package com.jic.purchase.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 采购单商品收货、发货记录表；
 * @author :
 * @email :
 * @since : 2020-09-20 09:39:56
 * @version : v1.0.0
 */
@Data
@ApiModel(description = "purchase_order_product_operation")
public class PurchaseOrderProductOperation extends BaseEntity {
    //主键
    private Long id;
    //采购价格表的id
    @ApiModelProperty(notes = "采购价格表的id")
    private Long purchaseOrderId;
    //采购单编码
    @ApiModelProperty(notes = "采购单编码")
    private String purchaseOrderCode;
    //采购单商品
    @ApiModelProperty(notes = "采购单商品")
    private Integer purchaseOrderProductId;
    //合同编码
    @ApiModelProperty(notes = "合同编码")
    private String contractCode;
    //合同名称
    @ApiModelProperty(notes = "合同名称")
    private String contractName;
    //产品编码
    @ApiModelProperty(notes = "产品编码")
    private String productCode;
    //产品名称
    @ApiModelProperty(notes = "产品名称")
    private String productName;
    //采购数量
    @ApiModelProperty(notes = "采购数量")
    private Integer purchaseNum;
    //本次操作数量
    @ApiModelProperty(notes = "本次操作数量")
    private Integer editNum;
    //本次操作类型 1 发货 2 收货
    @ApiModelProperty(notes = "本次操作类型 1 发货 2 收货")
    private Integer editType;
    //采购描述
    @ApiModelProperty(notes = "采购描述")
    private String purchaseDesc;

}